
import sys
#
# # aa.print_func("hello World")
#
# if __name__ == '__main__':
#    print('程序自身在运行')
# else:
#    print('我来自另一模块')
#

# print(dir(sys))
# fileName = "D:\\aa.txt"
#
# for line in open(fileName):
#     print(line, end="")
# f = open(fileName,"r")
#
# print(f.read())

# f = open(fileName, "r")
#
# for line in f:
#     print(line)
#
# # 关闭打开的文件
# f.close()

# f = open(fileName, "w")
#
# num = f.write( "Python 是一个非常好的语言。\n是的，的确非常好!!\n" )
# print(num)
# # 关闭打开的文件
# f.close()